package tt.dz.entity.system;

import java.io.Serializable;
import java.util.Date;

import tt.dz.entity.station.OmsStation;
import tt.dz.util.annotation.Ignore;
import tt.dz.util.annotation.PrimaryKey;
import tt.dz.util.annotation.Table;

/**
 * 操作员站点
 * <p>
 * 修改时间：2015年12月16日
 * <p>
 * 修改人：谢龙飞
 * <p>
 * 修改内容：添加注释，主键注解，实现序列化接口，实体类注释
 */

@Table(name = "oms_oper_station")
public class OmsOperStation implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** 操作员ID */
	@PrimaryKey
	private String oper_id;
	/** 充电站id */
	@PrimaryKey
	private String station_id;
//	/** 用户类型：1 管理员；2 运营商 3 地区运营商 4 商户 5 政府 */
//	private Integer oper_type;
	/** 记录时间 */
	private Date create_time;
	/** 创建人id */
	private String create_oper_id;
	/** 更新时间 */
	private Date update_time;
	private String update_oper_id;

	private Integer valid_flag;
	
	/**关联站点信息*/
	@Ignore
	private OmsStation station;

	public void setOper_id(String oper_id) {
		this.oper_id = oper_id;
	}

	public String getOper_id() {
		return oper_id;
	}

	public void setStation_id(String station_id) {
		this.station_id = station_id;
	}

	public String getStation_id() {
		return station_id;
	}

//	public void setOper_type(Integer oper_type) {
//		this.oper_type = oper_type;
//	}
//
//	public Integer getOper_type() {
//		return oper_type;
//	}

	public void setValid_flag(Integer valid_flag) {
		this.valid_flag = valid_flag;
	}

	public Integer getValid_flag() {
		return valid_flag;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_oper_id(String create_oper_id) {
		this.create_oper_id = create_oper_id;
	}

	public String getCreate_oper_id() {
		return create_oper_id;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_oper_id(String update_oper_id) {
		this.update_oper_id = update_oper_id;
	}

	public String getUpdate_oper_id() {
		return update_oper_id;
	}

	public OmsStation getStation() {
		return station;
	}

	public void setStation(OmsStation station) {
		this.station = station;
	}
}
